package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.FieldContentVo;
import com.zb.entity.ZjNetworkEmpFieldContent;

import java.util.List;

/**
 * <p>
 * 网点人员字段内容表，当zj_network_emp_field表字段type=3/4时，单选/多选内容存入此表 服务类
 * </p>
 *
 * @author WEN
 * @since 2023-10-18
 */
public interface ZjNetworkEmpFieldContentService extends IService<ZjNetworkEmpFieldContent> {

    /**
     * 保存、更改、删除字段
     * @param custAccId 商家ID
     * @param networkFieldEmpId 服务商人员字段ID
     * @param contents 单选多选内容
     * @param ids
     */
    void save(Long custAccId, Long networkFieldEmpId, List<FieldContentVo> contents, List<Long> ids);

    /**
     * 根据服务商人员字段ID获取单选多选
     * @param networkFieldEmpIds
     * @return
     */
    List<ZjNetworkEmpFieldContent> getByNetworkFieldEmpIds(List<Long> networkFieldEmpIds);

    /**
     * 根据服务商人员字段ID获取单选多选
     * @param networkFieldEmpId
     * @return
     */
    List<ZjNetworkEmpFieldContent> getByNetworkFieldEmpId(Long networkFieldEmpId);

    /**
     * 根据服务商人员ID删除
     * @param networkEmpFieldIds
     */
    void deleteBatchByNetworkEmpFieldIds(List<Long> networkEmpFieldIds);
}
